const install = function (app) {
    const requireAll = require.context('./', true, /\.vue/)
    const modulList = requireAll.keys().map(item => requireAll(item))
    modulList.forEach(({
      default: modulObj
    }) => {
      app.component(modulObj.__name, modulObj)
    });
  }
  export default install